package cn.wolfcode.luowowo.query;


import cn.wolfcode.luowowo.domain.Travel;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TravelQuery extends  QueryObject{

    public static final int ORDER_NEW=1;
    public  static final int ORDER_HOT=2;

    private String destId;
    private int perExpendType=-1;
    private int dayType=-1;
    private int state;

    private int orderType=1;
    public TravelCondition getDay(){
        return TravelCondition.DAYMAP.get(dayType);
    }

    public TravelCondition getExpend(){
        return TravelCondition.EXPENDMAP.get(perExpendType);
    }
}
